package exercise7;

public class StudentTest {
    public static void main(String[] args) {
        Student student1 = new Student("a",  12);
        Student student2 = new Student("b",  12,"scct");
        Student student3 = new Student("c",  12,"scct", "software teck");

        System.out.println(student1.getName());
        System.out.println(student2.getAge());

        System.out.println(student2.getName());
        System.out.println(student2.getAge());
        System.out.println(student2.getSchool());

        System.out.println(student3.getName());
        System.out.println(student3.getAge());
        System.out.println(student3.getSchool());
        System.out.println(student3.getMajor());

        student3.setAge(18);
        System.out.println(student3.getAge());

    }
}
